#ifndef _LOG_H_
#define _LOG_H_

#ifndef USE_JUST_ENOUGH_LOGING_SYSTEM
	#define USE_JUST_ENOUGH_LOGING_SYSTEM 1
#endif

#if defined(USE_JUST_ENOUGH_LOGING_SYSTEM) && (USE_JUST_ENOUGH_LOGING_SYSTEM==1)
	#include <WLog/WLogInterface.h>
#elif defined(USE_PRINTF)
	#include <cassert>
	#include <cstdio>

	#define trace printf
	#define info printf
	#define debug printf
	#define warning printf
	#define notice printf
	#define error printf
	#define wassert(condition) assert(condition)
	#define fatal printf
	#define output printf
#else
	#include <cassert>

	#define trace 
	#define info 
	#define debug 
	#define warning 
	#define notice 
	#define error 
	#define wassert(condition) assert(condition)
	#define fatal 
	#define output 
#endif // USE_JUST_ENOUGH_LOGING_SYSTEM

#endif //_LOG_H_